package 人类;

/**
 * @author ：wang-ting
 * @Date：2025/6/22 22:00
 */
public class Person1 extends Person0 implements Comparable<Person1>{
    public Person1(String name, int age){
        super(name, age);
    }
    public int compareTo(Person1 other) {
        return this.name.compareTo(other.name);
    }

}
